package com.woniuxy01;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-10-23 9:50
 */
public class Test07 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("输入月份");
        int month=scanner.nextInt();
        switch(month){
            case 1:
            case 2:
            case 3:
                System.out.println("spring");
                break;
            case 4:
            case 5:
            case 6:
                System.out.println("summer");
                break;
            case 7:
            case 8:
            case 9:
                System.out.println("fall");
                break;
            case 10:
            case 11:
            case 12:
                System.out.println("winter");
                break;
            default:
                System.out.println("输入错误，无效月份");
                break;
        }
    }
}
